type runtime.slice
34 uses
runtime (current package)
alg.go#L282: s := (*slice)(unsafe.Pointer(&b))
arena.go#L150: v = (*slice)(e.data).array
arena.go#L170: len := (*slice)(e.data).len
arena.go#L172: sl := new(slice)
arena.go#L173: *sl = slice{makeslicecopy(et, len, len, (*slice)(e.data).array), len, len}
arena.go#L294: *((*slice)(i.data)) = slice{a.alloc(typ, cap), cap, cap}
cgocall.go#L289: p := (*slice)(unsafe.Pointer(&gp.cgoCtxt))
cgocall.go#L296: p := (*slice)(unsafe.Pointer(&gp.cgoCtxt))
cgocall.go#L517: s := (*slice)(p)
debuglog.go#L310: bb := (*slice)(unsafe.Pointer(&b))
iface.go#L401: if (*slice)(unsafe.Pointer(&val)).array == nil {
map.go#L1608: s := (*slice)(p)
map.go#L1637: func copyKeys(t *maptype, h *hmap, b *bmap, s *slice, offset uint8) {
map.go#L1671: s := (*slice)(p)
map.go#L1700: func copyValues(t *maptype, h *hmap, b *bmap, s *slice, offset uint8) {
mbarrier.go#L291: func reflect_typedslicecopy(elemType *_type, dst, src slice) int {
metrics.go#L827: sl := slice{samplesp, len, cap}
mheap.go#L544: sp := (*slice)(unsafe.Pointer(&new))
print.go#L17: rp := (*slice)(unsafe.Pointer(&ret))
print.go#L250: sp := (*slice)(unsafe.Pointer(&s))
slice.go#L15: type slice struct {
slice.go#L157: func growslice(oldPtr unsafe.Pointer, newLen, oldCap, num int, et *_type) slice {
slice.go#L177: return slice{unsafe.Pointer(&zerobase), newLen, newLen}
slice.go#L283: return slice{p, newLen, newcap}
slice.go#L287: func reflect_growslice(et *_type, old slice, num int) slice {
string.go#L279: *(*slice)(unsafe.Pointer(&b)) = slice{p, size, int(cap)}
string.go#L294: *(*slice)(unsafe.Pointer(&b)) = slice{p, size, int(mem / 4)}
string.go#L311: *(*slice)(unsafe.Pointer(&b)) = slice{bp, n, n}
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |